/**
 * CourseStateEnum.java
 * com.sftj.framework.enums
 * Copyright (c) 2017, 北京科技有限公司版权所有.
*/

package com.sftz.assets.enums;

import com.uxuexi.core.common.enums.IEnum;

/**
 * @author   闫志彬
 * @Date	 2017年11月21日 	 
 */
public enum CourseStateEnum implements IEnum {

	DOWN(1, "未发布"), PUBLISHED(2, "已发布"), FREEZE(3, "审核中"), FAILED(4, "审核未通过"), DELETE(5, "删除");
	private int key;
	private String value;

	private CourseStateEnum(final int key, final String value) {
		this.value = value;
		this.key = key;
	}

	@Override
	public String key() {
		return String.valueOf(key);
	}

	public int intKey() {
		return key;
	}

	@Override
	public String value() {
		return value;
	}

}
